import request from '@/utils/request'

// 查询仓内移位单商品信息列表
export function listStockShiftItem(query) {
  return request({
    url: '/stock/shiftItem/list',
    method: 'post',
    data: query
  })
}

// 查询仓内移位单商品信息详细
export function getStockShiftItem(id) {
  return request({
    url: '/stock/shiftItem/' + id,
    method: 'get'
  })
}

// 新增仓内移位单商品信息
export function addStockShiftItem(data) {
  return request({
    url: '/stock/shiftItem/add',
    method: 'post',
    data: data
  })
}

// 修改仓内移位单商品信息
export function updateStockShiftItem(data) {
  return request({
    url: '/stock/shiftItem/update',
    method: 'post',
    data: data
  })
}

// 删除仓内移位单商品信息
export function delStockShiftItem(id) {
  return request({
    url: '/stock/shiftItem/delete/' + id,
    method: 'post'
  })
}
